﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace DatabaseAdminTools.MiniForms
{
    public partial class WaitDialog : Form
    {

        public WaitDialog(String message)
        {
            InitializeComponent();
            msgLabel.Text = message;
        }

        public WaitDialog()
        {
            InitializeComponent();
            msgLabel.Text = "";
        }


        public override string Text
        {
            set
            {
                msgLabel.Text = value;
            }
        }

        public void show()
        {
            Application.Run(this);
        }

        private void WaitDialog_Load(object sender, EventArgs e)
        {

        }
    }
}
